function [ none ] = writeAvi( vidToWrite, nameAsString )
%UNTITLED2 Summary of this function goes here
%   Detailed explanation goes here
vidOut = VideoWriter(nameAsString);
vidOut.FrameRate = 20;
open(vidOut);
vidOut.writeVideo(vidToWrite);
close(vidOut);

clear vidOut
end

